
export interface RespondData{
    code:number,
    message:string,
    ok:boolean
}

//已有品牌的ts类型
export interface TradeMark{
    id?:number,
    name:string,
    img_url?:string,
    parentId?:number
}
//包含全部品牌的ts类型
export type Records=TradeMark []

//获取的全部已有品牌的数据ts类型
export interface TradeMarkRespondData extends RespondData{
    data:{
        records:Records,
        hitCount:boolean,
        optimizeCountSql:boolean,
        pages:number,
        searchcount:boolean,
        total:number,
        currentPage:number
    }

}